//Course.java
package org.example.demo3.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course {
    int id;
    String name;
    int teacher_id;
    Teacher teacher;

    List<Score> scores;//成绩列表
}
